(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/iffparse.h>
LONG ReadChunkRecords()
SYNOPSIS
struct IFFHandle * iff
APTR buf
LONG bytesPerRecord
LONG numRecords
LOCATION
In IFFParseBase at offset 12
FUNCTION
Read a number of records with the given size from the current chunk into a buffer. Attempts to read past the end of the chunk will be truncated.
INPUTS
iff
pointer to IFFHandle struct.
buf
pointer to a buffer into which the data will be placed.
bytesPerRecord
number of bytes per record.
numRecords
number of records to read.
RESULT
actual - (positive) the actual number of whole records read. (negative) IFFERR_#? error code if not succesfull.
NOTES
EXAMPLE
BUGS
SEE ALSO
ReadChunkBytes()
,
ParseIFF()
, WriteChunkRecords()
INTERNALS
HISTORY
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen